package metrics;

import java.util.ArrayList;
import java.util.Collection;

import thesis.InfoUnit;
import thesis.DataObject;
import thesis.Summary;


public class Quality {
	public static double getScore(final Summary summary,
			final Collection<DataObject> allData,
			final ArrayList<InfoUnit> units, final double[][] probs) {
		double total = 0;
		for (DataObject t : summary.getMemoryTweets()) {
			total += t.getQuality();
		}
		return total / summary.size();
	}
}
